package com.interview.javabasic.thread;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {
	@Override
	public String call() throws Exception {
		String value = "test";
		System.out.println("Ready to work");
		Thread.currentThread().sleep(5000);
		System.out.println("task done");
		return value;
	}

}
